import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import vuexpersist from "vuex-persist";

export default new Vuex.Store({
  state: {
    mistake:true
  },
  mutations: {
    mistake(state){
      state.mistake=false
    }
  },
  actions: {
  },
  modules: {
  },
  plugins:[
    new vuexpersist({
      storage:window.localStorage
    }).plugin
  ]
})
